var AppDispatcher = require("./../dispatcher/AppDispatcher");

var ButtonActions = {
    addNewItem: function (text) {
        AppDispatcher.dispatch({
            action: "ADD_NEW_ITEM",
            text: text
        });
    }
};

module.exports = ButtonActions;
